ul {
  list-style: none;
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px transparent inset !important;
}

.page {
  overflow-y: scroll;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 60px; // min-height: 101%;
  &::-webkit-scrollbar {
    display: none;
  }
}

.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  font-size: 0;
  height: 0;
  visibility: hidden;
}

.backhome {
  background: url(/static/home.svg) no-repeat 50%;
  width: 25px;
  height: 25px;
  background-size: contain;
}

.full-page {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

// 字体大小
.fontsize {
  @media only screen and (min-width: 320px) {
    font-size: 10px;
  }
  @media only screen and (min-width: 375px) {
    font-size: 12px;
  }
  @media only screen and (min-width: 414px) {
    font-size: 14px;
  }
  @media only screen and (min-width: 768px) {
    font-size: 16px;
  }
}

// 统一变量
$tmdark: #36465d;
$tmgreen: #56bc8a;
$tmpurple: #a77dc2;
$tmorange: #f2992e;
$tmblue: #529ecc;
$green: #1aad19;
$grey: #9b9b9b;
$gray: #4a4a4a;
$link: #586c94;
$orange: #f5a623;
$red: #e64340;
h1,
h2,
h3,
h4,
h5 {
  font-weight: 500;
}

// 页面标题
.head {
  padding: 0 8px 0 20px;
  h1 {
    font-size: 22px;
    color: $tmdark;
    line-height: 50px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.green {
  color: $green !important;
}

.bg-green {
  background: $green !important;
}

.orange {
  color: $orange !important;
}

.bg-orange {
  background: $orange !important;
}

.grey {
  color: $grey !important;
}

.bg-grey {
  background: $grey !important;
}

.gray {
  color: $gray !important;
}

// 面板
.panel {
  margin: 0 8px 12px; // box-shadow: 0 1px 2px 0 rgba(0,0,0,0.50);
  box-shadow: 0px 4px 12px 0px rgba(158, 158, 158, 0.3);
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  position: relative;
  h2 {
    font-size: 14px;
    color: $green;
    font-weight: 500;
  }
}

.panel.full {
  padding: 0;
}

.no-records {
  text-align: center;
  padding: 50px 0;
}

.input-range {
    .weui-cells {
      display: flex;
      align-items: center;
      background: #fbf9fe;
      &:before {
        display: none;
      }
      &:after {
        display: none;
      }
      .weui-cell {
        background: #eeeff1;
        padding: 5px 10px;
        border-radius: 5px;
        // flex-shrink: 1;
        &:before {
          display: none;
        }
        input {
          text-align: center;
        }
      }
    }
    &.full {
      .weui-cell {
        flex: 1;
      }
    }
    .weui-cells__title {
      padding-left: 0;
      color: #666;
      font-weight: 500;
    }
    .dash {
      // width: 80px;
      padding: 0 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fbf9fe;
      &:before {
        content: '';
        width: 20px;
        height: 1px;
        background: #000;
      }
    }
  }

.ico {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-size: 100%;
  background-repeat: no-repeat;
  &.love {
    background-image: url();
  }
  &.sell {
    background-image: url();
  }
}
